import axios from 'axios';
import { loginreq, req } from './axiosFun';

/**
 * 报名管理
 **/
 // 获取报名
 export const List = (page, pagesize) => { return req("get", "/api/register/?page=" + page + "&pagesize=" + pagesize)};
 // 删除报名
 export const Delete = (id) => { return req("post", "/api/register/delete", {id: id})};
 // 添加报名
 export const Add = (form) => { return req("post", "/api/register/add", JSON.stringify(form))};
 // 更新报名
 export const Update = (form) => { return req("post", "/api/register/update", JSON.stringify(form))};
